<div class="content-wrapper" style="min-height: 976px;">
    <section class="content">
        <div class="box box-primary">
            <div class="box-header">
                <h3 class="box-title">交易记录</h3>
            </div>

            <div class="box-body">
                <table class="table table-striped">
                    <tbody>
                    <tr>
                        <th style="width: 20px">#</th>
                        <th style="width: 160px">交易uid</th>
                        <th style="width: 160px">相关股票</th>
                        <th style="width: 160px">交易价格</th>
                        <th style="width: 160px">交易用户uid</th>
                        <th style="width: 160px">交易量</th>
                    </tr>

                    <tr ng-repeat="t in list" ng-if="t.quantity > 0">
                        <td>{{$index + 1}}</td>
                        <td>{{t.uid}}</td>
                        <td>{{t.stock.name}}</td>
                        <td>
                            <strong>$ </strong>{{t.price}}
                        </td>
                        <td>
                            {{t.user.uid}}
                        </td>
                        <td>
                            {{t.quantity}}
                        </td>
                    </tr>
                    </tbody></table>
            </div>
        </div>
    </section>
</div>